<template>

  <NuxtLayout name="header"/>

  <div>
    <p>当前的id：{{ route.params.id }}</p>
  </div>

  <div>坐标: {{x}}, {{y}}</div>
</template>
<script setup lang="ts">
// 禁用默认的 layout
definePageMeta({
  layout: false,
});

const route = useRoute()

// 使用 vueuse
const { x, y } = useMouse()
</script>
